package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    List<UserInfo> getUserInfo();
    Integer insertUser(UserInfo userInfo);

    Integer deleteUserById(Integer id);

    Integer updateUserById(UserInfo userInfo);

    List<UserInfo> getUserInfo2();

    List<UserInfo> getUserInfo3();

    Integer insertUserByCondition(UserInfo userInfo);

    Integer insertUserByCondition1(UserInfo userInfo);

    List<UserInfo> queryByCondition(UserInfo userInfo);

    Integer updateUserByCondition(UserInfo userInfo);

    Integer deleteByIds(List<Integer> ids);
}
